﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 备货计划
    /// </summary>
    [Table("PB_PickUpPlan")]
    public partial class PB_PickUpPlan
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 组织Id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 计划日期
        /// </summary>
        public DateTime? PlanDate { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public String ProjectName { get; set; }

        /// <summary>
        /// 楼号Id
        /// </summary>
        public String BuildingnumberId { get; set; }

        /// <summary>
        /// 楼号名称
        /// </summary>
        public String BuildingnumberName { get; set; }

        /// <summary>
        /// 备货件数
        /// </summary>
        public Double? StockUpNums { get; set; }

        /// <summary>
        /// 计划重量
        /// </summary>
        public Double? PlanWeight { get; set; }

        /// <summary>
        /// 车号(多辆)
        /// </summary>
        public String Vehicles { get; set; }

        /// <summary>
        /// 车次
        /// </summary>
        public Int32? TrainNumber { get; set; }

        /// <summary>
        /// 状态(已制单；备货中；完成)
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 实际备货件数
        /// </summary>
        public Double? ActualStockUpNums { get; set; }

        /// <summary>
        /// 实际重量
        /// </summary>
        public Double? ActualPlanWeight { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }


        /// <summary>
        /// 所属部门
        /// </summary>
        public String DepartmentId { get; set; }


        /// <summary>
        /// 提示消息
        /// </summary>
        public String Message { get; set; }
    }
}